home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000111_news@columbia.edu_Sat Jun 10 12:55:38 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA20412
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 11 Jun 1995 04:20:34 -0400
Received: by apakabar.cc.columbia.edu id AA09590
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 11 Jun 1995 04:20:32 -0400
Path: news.columbia.edu!panix!news.mathworks.com!news.bluesky.net!news.sprintlink.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with ASK in adapting script to ethernet.
Message-Id: <1995Jun10.185538.53818@cc.usu.edu>
Date: 10 Jun 95 18:55:38 MDT
References: <10JUN95.15341792@uwpg02.uwinnipeg.ca>
Organization: Utah State University
Lines: 63
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <10JUN95.15341792@uwpg02.uwinnipeg.ca>, clark@uwpg02.uwinnipeg.ca (Jim Clark) writes:
> Hi
>
> I am revising a Kermit script that worked fine with a serial line for use
> on ethernet network. The program, shown below, offers menu of choices and then
> performs initial login operations. Problem is that the ASK command used to get
> input from user now seems to hang up the program. Has anyone else had this
> problem and found a solution? I tried various things, including moving the
> TAKE that retrieves the internet addresses after the ASK, but nothing seems to
> work. Things seem to work OK if I remark out the problematic line and use
> ASSIGN to set the variable (\%v) for the selection. Any suggestions
> appreciated (even if I've overlooked something amazingly simple ... which has
> never happened before, of course).
>
> Best Wishes
> Jim
>
> James M. Clark CLARK@UWPG02.BITNET (note ZERO-TWO)
> Department of Psychology CLARK@UWPG02.UWINNIPEG.CA
> University of Winnipeg (204) 786-9313
> Winnipeg, Manitoba, Canada (204) 786-1824 FAX
> R3B 2E9
>
>
> take c:\net\ipset.ini
>
> ; menu
> echo ************************************
> echo B - Bridge (UofM and UofW libraries)
> echo M - Manitoba IBM Mainframe (UofM)
> echo U - Unix (UofW IO)
> echo V - Vax (UofW)
> echo ************************************
> echo
>
> ;script hangs up at following ASK
> ;input accepted and assigned to variable but then nothing
> ;on <Enter>, cursor moves to beginning of input prompt
> ;any additional characters typed overtype prompt
> ;next return ends up at Kermit prompt
> ;everything works OK if ASSIGN used for fixed value of \%v
>
> ask \%v Type letter of choice, then <Enter>?\32
>
> ; choose subroutine
> if equal \%v b goto bridge
> if equal \%v m goto uman
> if equal \%v u goto io
> if equal \%v v goto vax
> stop ; end script if no match
>
> :bridge ; Bridge / UofM Library logon
> SET PORT TCP umopac.umanitoba.ca
> connect
> input UML=>
> output set lib uow\13
> goto end
---------
I don't think you want CONNECT before the script login particulars.
Recall that CONNECT is a mode and won't be left until the user decides to
do so. Scripts do NOT run in Connect mode. INPUT/OUTPUT do an automatic
comms channel startup so they can perform their jobs.
Joe D.